package cn.openea.perpartner.cms.web.service;

import cn.openea.perpartner.cms.web.dto.CommunityDto;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.openea.perpartner.cms.web.dto.AssignDto;
import cn.openea.perpartner.cms.web.dto.RandomDto;
import cn.openea.perpartner.cms.web.entity.CmsCommunity;

import java.util.List;

/**
 * (CmsCommunity)表服务接口
 *
 * @author makejava
 * @since 2022-08-10 14:30:24
 */
public interface ICmsCommunityService extends IService<CmsCommunity> {

    List<CmsCommunity> selectList(String userId, String searchStr);

    String importData(List<CmsCommunity> customerList);

    String randomImportData(List<RandomDto> communityList);

    CommunityDto queryById(Long id);

    boolean save(CommunityDto dto);

    boolean recycle(List<Long> idList);

    boolean assign(List<AssignDto> assignList);

    List<Object> selectLogList(int offset);
}

